import { axios } from '@/utils/request'

export function selectPage(parameter) {
  return axios({
    url: '/coupon/signConfig/selectList/' + parameter.pageNum + '/' + parameter.pageSize,
    method: 'post',
    data: parameter
  })
}

export function save(parameter) {
  return axios({
    url: '/coupon/signConfig/save',
    method: 'post',
    data: parameter
  })
}

export function del(parameter) {
  return axios({
    url: '/coupon/signConfig/delete/' + parameter,
    method: 'get'
  })
}

export function selectDetailBySignConfigId(parameter) {
  return axios({
    url: '/coupon/signConfig/selectDetailBySignConfigId/' + parameter,
    method: 'get'
  })
}





export function updateStatus(parameter) {
  return axios({
    url: '/coupon/signConfig/updateStatus',
    method: 'post',
    data: parameter
  })
}